package com.xbongbong.paas.pojo;/*/*/

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 表单设置开关
 * @author 魏荣杰
 * @date 2019/5/27 11:07
 * @since v1.0
 * @version v1.0
 */
@Setter
@Getter
@ToString
public class SwitchsPojo {
    private String title;
    private String tips;
    private List<SwitcherPojo> value;
    /**
     * 筛选角色
     */
    private SwitcherPojo switcherRole;
    /**
     * 类型，0表单，1公司
     */
    private Integer type;
    /**
     * 是表单还是公司的标志
     */
    private Integer sign;

    public SwitchsPojo() {
        this.type = 0;
    }

    public SwitchsPojo(String title, String tips, List<SwitcherPojo> value) {
        this.title = title;
        this.tips = tips;
        this.value = value;
        this.type = 0;
    }
}
